package com.jiayou.Map;

import com.jiayou.Bullet.Bullet1;
import com.jiayou.Tank.Model;
import com.jiayou.Tank.Tank1;
import com.jiayou.tools.TheGameLoading;

import java.awt.*;
import java.util.List;

public class Bush extends Body {
    private Image image;
    public Bush(int x, int y, int width, int heigh ) {
        super(x, y, width, heigh);
        this.image = TheGameLoading.getImage("bush.png");
    }

    public void draw(Graphics graphics, Tank1 tank1)
    {
        graphics.drawImage(image,x,y,width,heigh,null);
    }

    @Override
    public void drawdiren( List<Model> list) {

    }
}
